<?php





$dir    = '../files';





$files1 = scandir($dir);





$a = array_shift($files1);





?>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





<html xmlns="http://www.w3.org/1999/xhtml">





<head>





<body style="margin: 0; background-color: #000; color: #FFFFFF;">





<meta http-equiv="Content-Type" content="text/html" />





<title>HJSplit Mod - Devils</title>





<style type="text/css">





.style1 {





	text-align: center;





}





.style2 {





	background-image: url('../images/background_pm.gif');





}





.style3 {





	text-align: left;





}





.style5 {





	font-family: Tahoma;





	font-size: 7.5pt;





	text-align: left;





}





</style>





</head>





<div class="style3">





<table style="width: 100%" cellspacing="0" cellpadding="0" class="style2">





	<tr>





		<td class="style1" style="height: 61px">





		<img alt="" src="../templates/plugmod/images/logo_pm.gif" width="363" height="61"></td>





	</tr>





	<tr>





		<td class="style1" style="height: 419px" valign="top">





		<br>





		<form id="form1" name="form1" method="post" action="split.php">





  <table width="200" border="0" align="center" cellpadding="0" cellspacing="0">





    <tr>





      <td style="height: 22px; width: 69px;" class="style5"><strong>File</strong></td>





      <td style="height: 22px"><select name="arquivo" id="arquivo">





      <?php





      foreach($files1 as $value){





		echo "<option value=\"" . $value . "\">" . $value . "</option>";





	  }





		?>





      </select></td>





    </tr>





    <tr>





      <td style="width: 69px" class="style5"><strong>Split Size</strong></td>





      <td class="style3"><input type="text" name="tamanho" id="tamanho" /></td>





    </tr>





    <tr>





      <td style="width: 69px">&nbsp;</td>





      <td class="style3">





		<input type="submit" name="button" id="button" value="Submit"/></td>





    </tr>





  </table>





</form></td>





	</tr>





</table>





	</div>





</body>





</html>